package com.example.loop.thymeleafdemo.vo;/*
@author joker
@create 2022-04-30 9:42
SpringMVCdemo01
*/


import ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy;

public class Student {
    private Integer id;
    private String name;
    private String email;
    private Integer age;

    public String sex;

    public School schoolscho;

    public School getSchoolscho() {
        return schoolscho;
    }

    public void setSchoolscho(School schoolscho) {
        this.schoolscho = schoolscho;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", email='" + email + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", schoolscho='" + schoolscho + '\'' +
                '}';
    }
}
